<template>
	<view class="">
		<web-view :webview-styles="webviewStyles" :src="url"></web-view>
	</view>
</template>

<script setup>
	import {
		onLoad,
		onShow
	} from "@dcloudio/uni-app";
	import {
		ref
	} from "vue";
	const webviewStyles = {
		progress: {
			color: '#FF3333'
		}
	}
	const url = ref('')
	onLoad((e) => {
		url.value = e.url
	})
</script>

<style scoped lang="scss">

</style>